package edu.team7.las.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the t3_holiday database table.
 * 
 */
@Entity
@Table(name="t3_holiday")
@NamedQuery(name="T3Holiday.findAll", query="SELECT t FROM T3Holiday t")
public class T3Holiday implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int idt3_Holiday;

	@Temporal(TemporalType.DATE)
	private Date HDate;

	//bi-directional many-to-one association to T1Employee
	@ManyToOne
	@JoinColumn(name="DefinedBy")
	private T1Employee t1Employee;

	public T3Holiday() {
	}

	public int getIdt3_Holiday() {
		return this.idt3_Holiday;
	}

	public void setIdt3_Holiday(int idt3_Holiday) {
		this.idt3_Holiday = idt3_Holiday;
	}

	public Date getHDate() {
		return this.HDate;
	}

	public void setHDate(Date HDate) {
		this.HDate = HDate;
	}

	public T1Employee getT1Employee() {
		return this.t1Employee;
	}

	public void setT1Employee(T1Employee t1Employee) {
		this.t1Employee = t1Employee;
	}

}